package com.mvity.framework.common.base;

import java.io.Serializable;
import java.util.Map;

/**
 * 查询条件 基类
 * 
 * @author vity
 * @date 2012-3-15
 * @mail vity.1215@gmail.com
 */
public abstract class BaseQueryParam implements Serializable  {

	private static final long serialVersionUID = -6812636208414525259L;

	/**
	 * 开始时间
	 */
	protected String startDate;

	/**
	 * 结束时间
	 */
	protected String endDate;

	/**
	 * 租户ID
	 */
	protected String tenantId;

	/**
	 * 创建人ID
	 */
	protected String createUserId;

	/**
	 * 更新人ID
	 */
	protected String modifyUserId;

	/**
	 * 数据状态
	 */
	protected String dataState;

	/**
	 * 查询集合分页数量
	 */
	protected int pageSize;

	/**
	 * 查询集合页码
	 */
	protected int pageNum;

	/**
	 * 查询集合排序条件
	 * <p>
	 * key: 排序字段
	 * </p>
	 * <p>
	 * value: 排序方式
	 * </p>
	 */
	protected Map<String, String> orderMap;

	/**
	 * @return the startDate
	 */
	public String getStartDate() {
		return startDate;
	}

	/**
	 * @param startDate
	 *            the startDate to set
	 */
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	/**
	 * @return the endDate
	 */
	public String getEndDate() {
		return endDate;
	}

	/**
	 * @param endDate
	 *            the endDate to set
	 */
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	/**
	 * @return the tenantId
	 */
	public String getTenantId() {
		return tenantId;
	}

	/**
	 * @param tenantId
	 *            the tenantId to set
	 */
	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}

	/**
	 * @return the createUserId
	 */
	public String getCreateUserId() {
		return createUserId;
	}

	/**
	 * @param createUserId
	 *            the createUserId to set
	 */
	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	/**
	 * @return the modifyUserId
	 */
	public String getModifyUserId() {
		return modifyUserId;
	}

	/**
	 * @param modifyUserId
	 *            the modifyUserId to set
	 */
	public void setModifyUserId(String modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	/**
	 * @return the dataState
	 */
	public String getDataState() {
		return dataState;
	}

	/**
	 * @param dataState
	 *            the dataState to set
	 */
	public void setDataState(String dataState) {
		this.dataState = dataState;
	}

	/**
	 * @return the pageSize
	 */
	public int getPageSize() {
		return pageSize;
	}

	/**
	 * @param pageSize
	 *            the pageSize to set
	 */
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	/**
	 * @return the pageNum
	 */
	public int getPageNum() {
		return pageNum;
	}

	/**
	 * @param pageNum
	 *            the pageNum to set
	 */
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	/**
	 * @return the orderMap
	 */
	public Map<String, String> getOrderMap() {
		return orderMap;
	}

	/**
	 * @param orderMap
	 *            the orderMap to set
	 */
	public void setOrderMap(Map<String, String> orderMap) {
		this.orderMap = orderMap;
	}

}
